//
//  MainSegment.m
//  网络FM
//
//  Created by dllo on 15/5/26.
//  Copyright (c) 2015年 dengzhicheng.com. All rights reserved.
//

#import "MainSegment.h"

@implementation MainSegment
- (void)dealloc
{
    [_lable release];
    [_view release];
    [super dealloc];
}
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.lable = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 80, 40)];
        [self.lable setBackgroundColor:[UIColor redColor]];
        [self.view addSubview:self.lable];
        [self.lable release];
    }
    return self;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
